import request from '@/utils/request'


//同意 or 拒绝操作
export function confirmOrRejectFriend(data) {

  return request({
    url: '/friendRequest/confirmOrRejectFriend',
    method: 'post',
    data
  })
}

//查询历史好友\群请求列表
export function getRequestHistoryList() {

  return request({
    url: '/friendRequest/getRequestHistoryList',
    method: 'post',
  })
}//查询好友\群请求列表
export function getRequestList() {

  return request({
    url: '/friendRequest/selectFriendRequestList',
    method: 'post',
  })
}
//查询好友\群请求数量
export function getRequestCount() {

  return request({
    url: '/friendRequest/selectRequestCount',
    method: 'post',
  })
}
